
import request from '@/utils/request';

// 分页查询列表
export async function queryTypeList(params) {
  return request('/s/datadictype/queryPageList', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function addType(params) {
  return request('/s/datadictype/add', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function removeType(params) {
  return request('/s/datadictype/delete', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateType(params) {
  return request('/s/datadictype/update', {
    method: 'POST',
    data: params,
  });
}
